<?php get_header();?>

	<div id="main">
		<div id="content">
			<div id="SlidePlayer">
				<ul class="Slides">
					<?php query_posts(array('tag'=>'slider','posts_per_page'=>3,'ignore_sticky_posts'=>true)); while(have_posts()): the_post();?>
					<li><a target="_blank" href="<?php the_permalink();?>"><?php echo web589_thumbnail('full');?></a></li>
					<?php endwhile; wp_reset_query(); ?>
				</ul>
			</div>
			
			<div id="introduce">
				<?php $pid=get_option('web589BP_introduce_page');?>
				<?php query_posts(array('ignore_sticky_posts'=>true,'post_type'=>'page','p'=>$pid,'posts_per_page'=>1)); while(have_posts()): the_post();?>
				<div class="l"></div>
				<h2><a href="<?php the_permalink();?>" title="<?php the_title_attribute();?>"><?php the_title();?></a></h2>
				<div class="r"></div>
				<div class="cb"></div>
				<div id="i_content">
					<?php echo web589_thumbnail('medium'); ?>
					<p><?php echo get_the_excerpt();?></p>
					<div class="cb"></div>
				</div>
				<?php endwhile; wp_reset_query();?>
			</div>
			<div id="product">
				<?php $cid=get_option('web589BP_product_cat');?>
				<div class="l"></div>
				<h2><a href="<?php echo get_category_link($cid);?>" title="<?php echo esc_attr(get_cat_name($cid)); ?>"><?php echo get_cat_name($cid); ?></a></h2>
				<div class="r"></div>
				<div class="cb"></div>				
				
<div id="right_wrap"><!--滚动-->

    <div id="pro">

     <div class="rollBox">


            <div class="LeftBotton" onmousedown="ISL_GoUp()" onmouseup="ISL_StopUp()" onmouseout="ISL_StopUp()"><img src="<?php bloginfo('template_url');?>/images/pro_l.jpg" /></div> 

             <div class="Cont" id="ISL_Cont">

               <div class="ScrCont">

                  <div id="List1">  

                    <?php query_posts(array('cat'=>$cid,'posts_per_page'=>15,'ignore_sticky_posts'=>true)); while(have_posts()): the_post();?>
					<div class="pic"><a href="<?php the_permalink();?>"><?php echo web589_thumbnail('medium'); ?></a><p><a href="<?php the_permalink();?>"><?php the_title();?></a></p></div>
					<?php endwhile; wp_reset_query();?>	

                  </div>

                   <div id="List2"></div>		

                 </div>

             </div>

           <div class="RightBotton" onmousedown="ISL_GoDown()" onmouseup="ISL_StopDown()" onmouseout="ISL_StopDown()"><img src="<?php bloginfo('template_url');?>/images/pro_r.jpg" /></div>

         </div>

          <Script language="JavaScript" Src="<?php bloginfo('template_url');?>/includes/ProRoll.js"></Script>

	</div><!--滚动-->

	</div>				
				
			</div>
		</div>
		<?php get_sidebar();?>
		<div class="cb"></div>
	</div>
<?php get_footer();?>